package cn.hrlly.tao2shou.domain;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * User: gengliang
 * Date: 2016-01-26
 * Time: 13:24
 */

public class OrderList {
    @SerializedName("status")
    private int status;
    @SerializedName("error_message")
    private String errorMessage;
    @SerializedName("orders")
    private List<Orders> orders;

    private int orderType;
    private int page;
    private int pageCount;

    @Override
    public String toString() {
        return "OrderList{" +
                "status=" + status +
                ", errorMessage='" + errorMessage + '\'' +
                ", orders=" + orders +
                '}';
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public List<Orders> getOrders() {
        return orders;
    }

    public void setOrders(List<Orders> orders) {
        this.orders = orders;
    }

    public int getOrderType() {
        return orderType;
    }

    public void setOrderType(int orderType) {
        this.orderType = orderType;
    }

    public int getPage() {
        return page;
    }

    public void setPage(int page) {
        this.page = page;
    }

    public int getPageCount() {
        return pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }
}
